package com.hunttown.common.sharding.client.annotation;

import java.util.Map;

public class ShardResult {
    private boolean isSuccess;
    private int errorCode;
    private String errorDesc;
    private Map<String, Object> resultParam;

    public ShardResult() {
    }

    public boolean isSuccess() {
        return this.isSuccess;
    }

    public void setSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public int getErrorCode() {
        return this.errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorDesc() {
        return this.errorDesc;
    }

    public void setErrorDesc(String errorDesc) {
        this.errorDesc = errorDesc;
    }

    public Map<String, Object> getResultParam() {
        return this.resultParam;
    }

    public void setResultParam(Map<String, Object> resultParam) {
        this.resultParam = resultParam;
    }
}